package com.shuai.controller;

import com.shuai.utils.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author : 帅宏-coding
 * @version : 1.0
 * @date : 2025/6/24 0024
 */
@RestController
public class TestPageAndJsonController {

    @GetMapping("/json")
    public R testFastJson(){
        Map<Object, Object> map = new HashMap<>();
        map.put("name","帅宏-coidng");
        map.put("age","21");
        return R.ok(map);
    }

}
